package com.sundi.ecgeneralize.service;

import com.sundi.ecgeneralize.dto.TopicDto;
import com.sundi.ecgeneralize.entity.EcCoupon;
import com.sundi.ecgeneralize.entity.EcTopic;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 专题表 服务类
 * </p>
 *
 * @author Mht
 * @since 2020-02-26
 */
public interface IEcTopicService extends IService<EcTopic> {
    List<EcTopic> selectTopicList(TopicDto topicDto);

    void updAndDel(Integer id);

    EcTopic getTopic(@Param("id") Integer id);
    EcTopic getPic(@Param("id") Integer id);


    //    批量删除
    public void deleteAll(String ids);
}
